package com.lgy.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lgy.model.entity.Leave;
import com.lgy.model.entity.SysUser;
import com.lgy.model.vo.LeaveVo;
import com.lgy.utils.ResponseResult;

public interface ILeaveService extends IService<Leave> {
    void startLeaveApply(LeaveVo leaveVo,Long applyUserId, Long approvalUserId);

    ResponseResult listSearch(Page<Leave> page);

    void approval(Long id, Integer status, SysUser sessionUser);
}
